<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/html">

<head>
	<meta charset="UTF-8">
	<title>接单</title>
</head>

<body>
<a href="{$base_url.base_url}rider/myorder">我的订单</a>
<a href="{$base_url.base_url}user/logout">退出登录</a>
<ul>
	{if $orders != NULL}
		{foreach $orders as $order}
			<li>订单ID: {$order->id}</li>
			<li>下单时间: {$order->comfirm_time}</li>
			<li>送达地址: {$order->dst_addr}</li>
			<li>商家名: {$order->src_name}</li>
			<li>商家地址: {$order->src_addr}</li>
			<a href="{$base_url.base_url}rider/order/{$order->id}">查看详情</a>
			<br>
			<br>
		{/foreach}
	{else}
		无待接订单
	{/if}
</ul>

</body>

</html>
